package com.kitten;


import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
@EnableDiscoveryClient
@EnableAutoConfiguration(exclude={DruidDataSourceAutoConfigure.class})
public class AuthApplitivation {

    public static void main(String[] args) {
         SpringApplication.run(AuthApplitivation.class);
    }


    @RequestMapping("/hello")
    public  String hello(){

        return  "hello";
    }
}
